package com.ethink.system.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 系统用户表 数据库实体
 *
 * @author default
 * @date 2022-11-02
 */
@Data
@TableName("t_system_user")
public class SystemUser extends SuperEntity {

    public static final String LOGIN_NAME ="login_name";

    public static final String PASSWORD ="password";

    public static final String REAL_NAME ="real_name";

    public static final String MOBILE_NO ="mobile_no";

    public static final String EMAIL ="email";

    public static final String UID ="uid";

    public static final String JOB_NUMBER ="job_number";

    public static final String ENABLED ="enabled";

    public static final String USER_TYPE ="user_type";

    public static final String LAST_LOGIN_TIME ="last_login_time";


    /** 登录账号 */
    private String loginName;

    /** 密码 */
    private String password;

    /** 真实姓名 */
    private String realName;

    /** 手机号 */
    private String mobileNo;

    /** 邮箱 */
    private String email;

    /** uid */
    private String uid;

    /** 员工工号 */
    private String jobNumber;

    /** 枚举 用户状态: 1-启用(enable) | 0-禁用(disable) */
    private Integer enabled;

    /** 枚举 用户类型: 1-管理员(manager) |2-普通用户(general) */
    private Integer userType;

    /** 最后登录时间 */
    private Date lastLoginTime;

}
